<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="Demo01.js" ></script>
<title>html元素的标签属性找节点</title>
</head>

<body>
<input type="text" id="userName" value="请输入用户名..."  />
<input type="button" onclick="showText()" value="设置用户名"  />
<hr />
<img src="" />
<img src="" />
<img src="" />
<input type="button" onclick="showImg()" value="设置显示图片" />
<hr />
<div name="info" ></div>
<div name="info"></div>
<div name="info"></div>
<input type="button" onclick="showDiv()" value="设置DIV的内容" />
</body>
</html>
